package edu.avans.hartigehap.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import edu.avans.hartigehap.domain.WebDish;
import edu.avans.hartigehap.domain.WebMenuItem;

public interface WebDishService {
	public List<WebDish> findAll();

	public WebDish save(WebDish webDish);

	public void delete(Long id);

	// pizza

	public WebDish findById(Long id);

	public WebDish findByName(String name);

	public void createNewWebMenuItem();
	public void createNewPizza(java.math.BigDecimal price, String name);
	public WebMenuItem saveMenuItem(WebMenuItem menuItem);
	public WebMenuItem findMenuItemById(Long id);
	public void deleteMenuItem(Long id);

	public List<WebMenuItem> findAllPizzas();
	public List<WebMenuItem> findAllToppings();

}
